#ifndef _BSP_UART_H
#define _BSP_UART_H

#include "imx6ull.h"
void uart_io_init(void);
void uart_init(void);
void uart_softreset(UART_Type *base);
void uart_disable(UART_Type *base);
void uart_enable(UART_Type *base);
void puts(char *str);
unsigned char getc(void);
void putc(unsigned char c);
void uart_setbaudrate(UART_Type *base, unsigned int baudrate, unsigned int srcclock_hz);


#endif 



